package com.cn.mapper.dao.db5.Equipment;

import com.cn.bean.vo.Equipment.ComponentStructureGroupComposition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ComponentStructureGroupCompositionDao {
    int addComponentStructureGroupComposition(@Param("ID")int ID,@Param("M1ID")int M1ID,@Param("componentID")int componentID,@Param("groupNumber")String groupNumber,@Param("quantityWithinGroup")int quantityWithinGroup,@Param("universalBetweenGroups")int universalBetweenGroups);

    int deleteComponentStructureGroupComposition(@Param("ID")int ID);
    List<ComponentStructureGroupComposition> selectComponentStructureGroupCompositionMID(@Param("ID")int ID);
}
